Java VM Install Types
Identifier:
org.eclipse.jdt.launching.vmInstallTypes
Description:
This extension point represents different kinds of Java runtime environments and development kits.
Each extension must implement org.eclipse.jdt.launching.IVMInstallType.
An IVMInstallType is responsible for creating and managing a set of instances of its corresponding IVMInstall class.
Through creating different IVMInstall objects, an IVMInstallType allows for specific behaviour for various Java VMs.
A UI for managing IVMInstalls is provided by the Java Debug UI plug-in.
Configuration Markup:
<!ELEMENT extension (vmInstallType*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT vmInstallType EMPTY>
<!ATTLIST vmInstallType
id CDATA #REQUIRED
class CDATA #REQUIRED>
- id - a unique identifier that can be used to reference this IVMInstallType.
- class - the class that implements this VM install type. The class must implement IVMInstallType.
Examples:
The following is an example of an IVMInstallType for the J9 VM:
<extension point=
"org.eclipse.jdt.launching.vmInstallTypes"
>
<vmInstallType
class=
"org.eclipse.jdt.internal.launching.j9.J9VMInstallType"
id=
"org.eclipse.jdt.internal.launching.j9.J9Type"
>
</vmInstallType>
</extension>
Supplied Implementation:
Abstract implementations of IVMInstall and IVMInstallType are provided. The Java Development Tools Launching Support plug-in defines a VM
install type for the standard 1.1.* and 1.2/1.3/1.4 level JRE.